package com.ruoyi.data.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
public class QikeUrlResponse {

  private String url;
  private String authId;
  private String auth;

  public String getFullUrl() {
    if (url == null) {
      return "";
    }
    return url + (url.contains("?") ? "&" : "?") + "authId=" + authId + "&auth=" + auth;
  }
}
